package com.HuangJiaQing.www.service;

import com.HuangJiaQing.www.model.Cart;
import com.HuangJiaQing.www.util.CartPlus;


import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * @author HONOR
 * @date 2022/7/29 15:14
 */
public interface CartService {
    String addCart(Integer id);

    List<Cart> selectCartByUserId();

    void updateGoodsNumber(Integer id, int number);

    List<CartPlus> selectCartAndSort();

    void deleteCartById(Integer id);
}
